package hcn.protocol.brandnew.zhenliao.yaopin;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 同步药品用法信息 - ODS_03020017_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetDrugFrequencyResponse {

    /**
     * 频次记录
     */
    @XmlElementWrapper(name = "UsingRateLists")
    @XmlElement(name = "UsingRateList")
    private List<UsingRateList> usingRateLists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlRootElement(name = "UsingRateList")
    public static class UsingRateList {

        /**
         * 药物使用频次代码
         */
        @XmlElement(name = "DrugUsingRate")
        private String drugUsingRate;
        /**
         * 使用频次名称
         */
        @XmlElement(name = "DrugUsingRateName")
        private String drugUsingRateName;
        /**
         * 备注信息
         */
        @XmlElement(name = "Remark")
        private String remark;
        /**
         * 周期(天)
         */
        @XmlElement(name = "FrequencyCycle")
        private String frequencyCycle;
        /**
         * 执行时间（多个时间逗号分隔
         */
        @XmlElement(name = "ExecutionTime")
        private String executionTime;
        /**
         * 执行周期
         */
        @XmlElement(name = "ExecutionCycle")
        private String executionCycle;
        /**
         * 执行时间（多个时间逗号分隔）
         */
        @XmlElement(name = "FrequencyCycleNumber")
        private String frequencyCycleNumber;
    }

}
